package me.zhyx.music.model;

import lombok.Data;
import lombok.NonNull;

/**
 * @Auther: yssq
 * @Date: 2019/3/14 12:36
 * @Description:
 */
@Data
public class Music {
    private Integer id;
    private String link;

    private String password;
    private String sourceAddress;//源地址
    private String songName;
    private String singer;//歌手
    private String format;//格式
    private String size;


    public Music(String link, String password) {
        this.link = link;
        this.password = password;
    }

    public Music() {
    }

    public Music(Integer id, String link, String password, String sourceAddress, String songName, String singer, String format) {
        this.id = id;
        this.link = link;
        this.password = password;
        this.sourceAddress = sourceAddress;
        this.songName = songName;
        this.singer = singer;
        this.format = format;
    }
}
